//
//  SubjectEditView.m
//  
//
//  Created by Christian Speich on 18.12.07.
//  Copyright 2007-2008 Christian Speich. All rights reserved.
//

#import <CoreFoundation/CoreFoundation.h>
#import <Foundation/Foundation.h>
#import <UIKit/CDStructures.h>
#import <UIKit/UIHardware.h>
#import <UIKit/UIApplication.h>
#import <UIKit/UIKit.h>
#import <UIKit/UIView.h>
#import <UIKit/UIPreferencesTable.h>
#import <UIKit/UISegmentedControl.h>
#import "ViewManager.h"

@interface SubjectEditView : UIView {
	int index;
	bool classTest;
	UISegmentedControl *markControl;
	UISegmentedControl *wertigkeitControl;
	UIPreferencesTable *table;
	ViewManager *viewManager;
}

- (id)initNewTestWithSubjectIndex:(int)index andFrame:(struct CGRect)frame;
- (id)initNewClassTestWithSubjectIndex:(int)index andFrame:(struct CGRect)frame;

- (void)save;

@end
